package com.cloud.feign.fallback;

import com.cloud.feign.client.IFeignClient;
import org.springframework.stereotype.Component;

@Component
public class FeignConsumerFallback implements IFeignClient {

    @Override
    public String hello(String name) {
        //兜底数据
        return "报错啦，我是IFeignClient的降级方法";
    }
}
